<html>
<head>
<title>How the Java Language Differs from C and C++</title>
</head>
<body>
<a href="../index.html"><img src=../images/PreviousArrow.gif width=26 height=26 align=bottom border=0 alt="Previous | "></a><a
href="dataTypes.html"><img src=../images/NextArrow.gif width=26 height=26 align=bottom border=0 alt="Next | "></a><a
href="../index.html"><img src=../images/WayUpArrow.gif width=26 height=26 align=bottom border=0 alt="Trail Map | "></a><a
href="./index.html"><img src=../images/noCHeader.gif width=26 height=26 align=bottom border=0 alt="How the Java Language Differs From C and C++"></a>
<p>
<hr size=4>

<h1>
     How the Java Language Differs from C and C++
</h1>
<p>
<blockquote>

This lesson contains several independent pages that discuss the differences
between the Java language and C and C++. If you are primarily interested
in these differences, you can step through these pages using the
<a href="../index.html"><img src=../images/PreviousArrow.gif width=20 height=20 border=0></a>
and
<a href="dataTypes.html"><img src=../images/NextArrow.gif width=20 height=20 border=0></a>
at the top and bottom of each page.

<p>
However, if you prefer to learn about the differences between the languages
in context of more information just proceed with the other lessons.
When applicable those lessons will transport you to one of the pages listed
below to get detailed information about the differences between these languages.

<h4><a href="dataTypes.html">C Data Types Not Supported By the Java Language</a>
</h4>
<blockquote>
The Java language does not support three data types that are part of the C and C++ languages:
struct, union, and pointer.
</blockquote>

<h4><a href="operators.html">Operators</a>
</h4>
<blockquote>
There are a few differences in how certain operators in the Java language work
as compared to both C and C++.
</blockquote>

<h4><a href="cmdLineArgs.html">Java Command Line Arguments Differ from C and C++</a>
</h4>
<blockquote>
The command line arguments passed to a Java application
are different in number and in type than those
passed to a C or C++ program.
</blockquote>

<h4><a href="strings.html">Java Strings are First-Class Objects</a>
</h4>
<blockquote>
In C and C++, strings are simply a null-terminated array of characters.
The Java language uses the String class provided in the java.lang package.
</blockquote>

<h4><a href="misc.html">Miscellaneous Differences</a>
</h4>
<blockquote>
There are several other minor differences between the C and C++ language and
the Java language.
</blockquote>

</blockquote>
<p>
<hr size=4>
<p>
<a href="../index.html"><img src=../images/PreviousArrow.gif width=26 height=26 align=top border=0 alt="Previous | "></a><a
href="dataTypes.html"><img src=../images/NextArrow.gif width=26 height=26 align=top border=0 alt="Next | "></a><a
href="../index.html"><img src=../images/WayUpArrow.gif width=26 height=26 align=top border=0 alt="Trail Map | "></a><a
href="./index.html"><img src=../images/noCHeader.gif width=26 height=26 align=top border=0 alt="How the Java Language Differs From C and C++"></a>
</body>
</html>
